3040bd4dd9390630a7e7e96546d180f4c1d4ea31,easybatch-core/src/test/java/org/easybatch/core/mapper/ObjectMapperTest.java,ObjectMapperTest,whenValuesAreValid_ThenTheMappedObjectShouldBeCorrectlyPopulated,#,43

Before Change


        values.put("birthDate", "1990-12-12");
        values.put("married", "true");

        Person person = (Person) mapper.mapObject(values);

        // person bean must be not null
        assertThat(person).isNotNull();

After Change


        values.put("birthDate", "1990-12-12");
        values.put("married", "true");

        Person person = mapper.mapObject(values);

        // person bean must be not null
        assertThat(person).isNotNull();